/**
 * 
 * @authors Your Name (you@example.org)
 * @date    2017-08-28 10:47:35
 * @version $Id$
 */

function setFontsize() {
    setTimeout(function(){
         var innerWidth = window.innerWidth;
         var deviceWidth = document.documentElement.clientWidth;
        if (deviceWidth > 640) {
           deviceWidth = 640;
        }
        document.documentElement.style.fontSize = deviceWidth / 6.4 + 'px';
      },10)
}
setFontsize();
window.onresize = function() {
     setFontsize();
}









